package com.yonyougov.devops.cruxcisupport.role.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.Date;

@Data
@ApiModel(value = "角色修改")
public class RoleUpdateRequestDto extends BaseRequestDto {
    @NotNull
    @ApiModelProperty(value = "角色主键", required = true)
    private BigInteger id;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色类型")
    private Integer roleType;

    @ApiModelProperty(value = "是否锁定")
    private Boolean locked;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;
}
